﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ORMAC.Attributes;
using System.Xml.Serialization;

namespace ORMAC.CodeGen
{
    [XmlInclude(typeof(TableInfo))]
    [XmlInclude(typeof(SProcInfo))]
    public class DBObjectInfo
    {
        /// <summary>
        /// the name of the object in database
        /// </summary>
        [Field("Name")]
        public string Name { get; set; }
        /// <summary>
        /// The name of the object in the generated code
        /// </summary>
        [Field("Name")]
        public string CodeName { get; set; }
    }
}
